package com.lpit.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lpit.pojo.Fans;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lpit.vo.FansVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【fans(粉丝表)】的数据库操作Mapper
* @createDate 2023-06-27 14:43:33
* @Entity com.lpit.entity.Fans
*/
@Mapper
public interface FansMapper extends BaseMapper<Fans> {

    Page<FansVo> queryByUserIdFansVoPage(@Param("page") Page<FansVo> page,@Param("id") Integer id);


    //查看粉丝数量
    long countFans();
}




